{% load static from staticfiles %}
<script type="text/javascript">
$(function() {
    $('div.overall_rating').raty({
        half: true,
        readOnly: true,
        score: function() {
          return $(this).attr('data-score');
        },
        path: "{% static "lib/img/" %}"
    });
    var activeTab = $("[href='" + location.hash + "']");
    activeTab && activeTab.tab('show');
});
</script>
